<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>输入</title>
		<script>
		 var n=prompt("请输入你的名字","无名");
		 
		 alert(n);
		</script>
	</head>
	<body>
	</body>
</html>
